﻿#region File and License Information
/*
<File>
	<License>
		Copyright © 2009 - 2017, Daniel Vaughan. All rights reserved.
		This file is part of Calcium (http://calciumsdk.net), 
		which is released under the MIT License.
		See file /Documentation/License.txt for details.
	</License>
	<CreationDate>2013-05-01 12:59:19Z</CreationDate>
</File>
*/
#endregion

using System.ComponentModel;
using System.Runtime.CompilerServices;

namespace Outcoder.UI.Xaml
{
	public partial class EnvironmentValues : INotifyPropertyChanged
	{
		static bool? designTime;

		public static bool DesignTime
		{
			get
			{
				if (!designTime.HasValue)
				{
					designTime = false; /* TODO: implement */
				}

				return designTime.Value;
			}
		}

		public event PropertyChangedEventHandler PropertyChanged;

		protected virtual void OnPropertyChanged([CallerMemberName]string propertyName = null)
		{
			PropertyChangedEventHandler handler = PropertyChanged;
			if (handler != null)
			{
				handler(this, new PropertyChangedEventArgs(propertyName));
			}
		}
	}
}
